﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace TuongLai_Schools
{
    public class clsDM_DonviCollection : List<clsDM_Donvi>
    {
    }
    public class clsDM_Donvi
    {
        private string m_DonviID;
        private string m_Tendonvi;
        private string m_Diachi;
        private string m_Dienthoai;
        private string m_Fax;
        private string m_Mail;
        private string m_Macha;
        private string m_MatinhID;
        private int m_CapquanlyID;
        public clsDM_Donvi()
        {
            m_DonviID = string.Empty;
            m_Tendonvi = string.Empty;
            m_Diachi = string.Empty;
            m_Dienthoai = string.Empty;
            m_Fax = string.Empty;
            m_Mail = string.Empty;
            m_Macha = string.Empty;
            m_MatinhID = string.Empty;
            m_CapquanlyID = 0;
        }
        public virtual string DonViID
        {
            get
            {
                return m_DonviID;
            }
            set
            {
                m_DonviID = value;
            }
        }
        public virtual string TenDonVi
        {
            get
            {
                return m_Tendonvi;
            }
            set
            {
                m_Tendonvi = value;
            }
        }
        public virtual string DiaChi
        {
            get
            {
                return m_Diachi;
            }
            set
            {
                m_Diachi = value;
            }
        }
        public virtual string DienThoai
        {
            get
            {
                return m_Dienthoai;
            }
            set
            {
                m_Dienthoai = value;
            }
        }
        public virtual string Fax
        {
            get
            {
                return m_Fax;
            }
            set
            {
                m_Fax = value;
            }
        }
        public virtual string Mail
        {
            get
            {
                return m_Mail;
            }
            set
            {
                m_Mail = value;
            }
        }
        public virtual string MaCha
        {
            get
            {
                return m_Macha;
            }
            set
            {
                m_Macha = value;
            }
        }
        public virtual string MaTinhID
        {
            get
            {
                return m_MatinhID;
            }
            set
            {
                m_MatinhID= value;
            }
        }
        public virtual int CapQuanLyID
        {
            get
            {
                return m_CapquanlyID;
            }
            set
            {
                m_CapquanlyID = value;
            }
        }
    }
}
